import request from '@/utils/request'

export default {
    //分页查询讲师方法
    getTeacherList(current,limit) {
        return request({
            url: `/eduservice/teacherfront/getTeacherFrontList/${current}/${limit}`,
            method: 'post'
        })
    },
    //讲师详情的方法
    getTeacherInfo(teacherId) {
        return request({
            url: `/eduservice/teacherfront/getTeacherFrontInfo/${teacherId}`,
            method: 'get'
        })
    }
}